SET(CMAKE_INCLUDE_CURRENT_DIR ON)

SET(SOURCES
GLexample.rc
main.cpp
resource.h
)

INCLUDE_DIRECTORIES("../Awesomium")

ADD_EXECUTABLE(GLexample ${SOURCES})

TARGET_LINK_LIBRARIES( GLexample Awesomium ) 

IF (WIN32)
TARGET_LINK_LIBRARIES( GLexample opengl32 glu32 winmm )
ELSE()
set(CMAKE_EXE_LINKER_FLAGS "-framework OpenGL -framework GLUT")
ENDIF()
